package nige.tools;

import java.util.Calendar;

public class Time {

	public static int getMs() {
		return
			Calendar.getInstance().get(Calendar.HOUR)*60*60*1000+
			Calendar.getInstance().get(Calendar.MINUTE)*60*1000+
			Calendar.getInstance().get(Calendar.SECOND)*1000+
			Calendar.getInstance().get(Calendar.MILLISECOND);
	}

}
